Package | hl7.fhir.uv.xver |
Type | StructureMap |
Id | Id |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-MessageHeader2to3.html |
Url | http://hl7.org/fhir/StructureMap/MessageHeader2to3 |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | MessageHeader2to3 |
Title | MessageHeader Transforms: R2 to R3 |
Experimental | False |
Realm | uv |
Authority | hl7 |
Description | MessageHeaderTransformsR2toR3 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/MessageHeader2to3' /// name = 'MessageHeader2to3' /// title = 'MessageHeader Transforms: R2 to R3' /// status = 'active' uses "http://hl7.org/fhir/1.0/MessageHeader" alias MessageHeaderR2 as source uses "http://hl7.org/fhir/3.0/MessageHeader" alias MessageHeader as target imports "http://hl7.org/fhir/StructureMap/*2to3" group MessageHeader(source src : MessageHeaderR2, target tgt : MessageHeader) extends DomainResource <<type+>> { src.timestamp -> tgt.timestamp "MessageHeader-timestamp"; src.event -> tgt.event "MessageHeader-event"; src.response as vs0 -> tgt.response as vt0 then mshResponse(vs0, vt0) "MessageHeader-response"; src.source as vs0 -> tgt.source as vt0 then mshSource(vs0, vt0) "MessageHeader-source"; src.destination as vs0 -> tgt.destination as vt0 then mshDestination(vs0, vt0) "MessageHeader-destination"; src.enterer -> tgt.enterer "MessageHeader-enterer"; src.author -> tgt.author "MessageHeader-author"; src.receiver -> tgt.receiver "MessageHeader-receiver"; src.responsible -> tgt.responsible "MessageHeader-responsible"; src.reason -> tgt.reason "MessageHeader-reason"; src.data -> tgt.focus "MessageHeader-data"; } group mshResponse(source src, target tgt) extends BackboneElement { src.identifier -> tgt.identifier "response-identifier"; src.code -> tgt.code "response-code"; src.details -> tgt.details "response-details"; } group mshSource(source src, target tgt) extends BackboneElement { src.name -> tgt.name "source-name"; src.software -> tgt.software "source-software"; src.version -> tgt.version "source-version"; src.contact -> tgt.contact "source-contact"; src.endpoint -> tgt.endpoint "source-endpoint"; } group mshDestination(source src, target tgt) extends BackboneElement { src.name -> tgt.name "source-name"; src.target -> tgt.target "source-target"; src.endpoint -> tgt.endpoint "source-endpoint"; }
{
"resourceType" : "StructureMap",
"id" : "MessageHeader2to3",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/MessageHeader2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'MessageHeader2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'MessageHeader Transforms: R2 to R3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/MessageHeader<span style=\"color: navy\">" </span><b>alias </b>MessageHeaderR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/MessageHeader<span style=\"color: navy\">" </span><b>alias </b>MessageHeader <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*2to3<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>MessageHeader<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>MessageHeaderR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>MessageHeader<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.timestamp<span style=\"color: navy\"><b> -> </b></span>tgt.timestamp <i>"MessageHeader-timestamp"</i><span style=\"color: navy\">;</span>\r\n src.event<span style=\"color: navy\"><b> -> </b></span>tgt.event <i>"MessageHeader-event"</i><span style=\"color: navy\">;</span>\r\n src.response<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.response<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>mshResponse<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"MessageHeader-response"</i><span style=\"color: navy\">;</span>\r\n src.source<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.source<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>mshSource<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"MessageHeader-source"</i><span style=\"color: navy\">;</span>\r\n src.destination<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.destination<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>mshDestination<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"MessageHeader-destination"</i><span style=\"color: navy\">;</span>\r\n src.enterer<span style=\"color: navy\"><b> -> </b></span>tgt.enterer <i>"MessageHeader-enterer"</i><span style=\"color: navy\">;</span>\r\n src.author<span style=\"color: navy\"><b> -> </b></span>tgt.author <i>"MessageHeader-author"</i><span style=\"color: navy\">;</span>\r\n src.receiver<span style=\"color: navy\"><b> -> </b></span>tgt.receiver <i>"MessageHeader-receiver"</i><span style=\"color: navy\">;</span>\r\n src.responsible<span style=\"color: navy\"><b> -> </b></span>tgt.responsible <i>"MessageHeader-responsible"</i><span style=\"color: navy\">;</span>\r\n src.reason<span style=\"color: navy\"><b> -> </b></span>tgt.reason <i>"MessageHeader-reason"</i><span style=\"color: navy\">;</span>\r\n src.data<span style=\"color: navy\"><b> -> </b></span>tgt.focus <i>"MessageHeader-data"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>mshResponse<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier <i>"response-identifier"</i><span style=\"color: navy\">;</span>\r\n src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code <i>"response-code"</i><span style=\"color: navy\">;</span>\r\n src.details<span style=\"color: navy\"><b> -> </b></span>tgt.details <i>"response-details"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>mshSource<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.name<span style=\"color: navy\"><b> -> </b></span>tgt.name <i>"source-name"</i><span style=\"color: navy\">;</span>\r\n src.software<span style=\"color: navy\"><b> -> </b></span>tgt.software <i>"source-software"</i><span style=\"color: navy\">;</span>\r\n src.version<span style=\"color: navy\"><b> -> </b></span>tgt.version <i>"source-version"</i><span style=\"color: navy\">;</span>\r\n src.contact<span style=\"color: navy\"><b> -> </b></span>tgt.contact <i>"source-contact"</i><span style=\"color: navy\">;</span>\r\n src.endpoint<span style=\"color: navy\"><b> -> </b></span>tgt.endpoint <i>"source-endpoint"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>mshDestination<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.name<span style=\"color: navy\"><b> -> </b></span>tgt.name <i>"source-name"</i><span style=\"color: navy\">;</span>\r\n src.target<span style=\"color: navy\"><b> -> </b></span>tgt.target <i>"source-target"</i><span style=\"color: navy\">;</span>\r\n src.endpoint<span style=\"color: navy\"><b> -> </b></span>tgt.endpoint <i>"source-endpoint"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/MessageHeader2to3",
"version" : "0.1.0",
"name" : "MessageHeader2to3",
"title" : "MessageHeader Transforms: R2 to R3",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "MessageHeaderTransformsR2toR3",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/1.0/MessageHeader",
"mode" : "source",
"alias" : "MessageHeaderR2"
},
{
"url" : "http://hl7.org/fhir/3.0/MessageHeader",
"mode" : "target",
"alias" : "MessageHeader"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*2to3"
],
"group" : [
{
"name" : "MessageHeader",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "MessageHeaderR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "MessageHeader",
"mode" : "target"
}
],
"rule" : [
{
"name" : "MessageHeader-timestamp",
"source" : [
{
"context" : "src",
"element" : "timestamp",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "timestamp",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "MessageHeader-event",
"source" : [
{
"context" : "src",
"element" : "event",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "event",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "MessageHeader-response",
"source" : [
{
"context" : "src",
"element" : "response",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "response",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "mshResponse",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
},
{
"name" : "MessageHeader-source",
"source" : [
{
"context" : "src",
"element" : "source",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "source",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "mshSource",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
},
{
"name" : "MessageHeader-destination",
"source" : [
{
"context" : "src",
"element" : "destination",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "destination",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "mshDestination",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
},
{
"name" : "MessageHeader-enterer",
"source" : [
{
"context" : "src",
"element" : "enterer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "enterer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "MessageHeader-author",
"source" : [
{
"context" : "src",
"element" : "author",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "author",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "MessageHeader-receiver",
"source" : [
{
"context" : "src",
"element" : "receiver",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "receiver",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "MessageHeader-responsible",
"source" : [
{
"context" : "src",
"element" : "responsible",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "responsible",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "MessageHeader-reason",
"source" : [
{
"context" : "src",
"element" : "reason",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "reason",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "MessageHeader-data",
"source" : [
{
"context" : "src",
"element" : "data",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "focus",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "mshResponse",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "response-identifier",
"source" : [
{
"context" : "src",
"element" : "identifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "response-code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "response-details",
"source" : [
{
"context" : "src",
"element" : "details",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "details",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "mshSource",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "source-name",
"source" : [
{
"context" : "src",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "source-software",
"source" : [
{
"context" : "src",
"element" : "software",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "software",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "source-version",
"source" : [
{
"context" : "src",
"element" : "version",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "version",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "source-contact",
"source" : [
{
"context" : "src",
"element" : "contact",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "contact",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "source-endpoint",
"source" : [
{
"context" : "src",
"element" : "endpoint",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "endpoint",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "mshDestination",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "source-name",
"source" : [
{
"context" : "src",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "source-target",
"source" : [
{
"context" : "src",
"element" : "target",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "target",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "source-endpoint",
"source" : [
{
"context" : "src",
"element" : "endpoint",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "endpoint",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.